/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.z100h.supplychain.statistics.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.z100h.supplychain.statistics.entity.StatRealtimeSku;
import com.z100h.supplychain.statistics.mapper.StatRealtimeSkuMapper;


/**
 * 实时库存Service
 * @author fyh
 * @version 2019-02-14
 */
@Service
@Transactional(readOnly = true)
public class StatRealtimeSkuService extends CrudService<StatRealtimeSkuMapper, StatRealtimeSku> {

	public StatRealtimeSku get(String id) {
		return super.get(id);
	}
	
	public List<StatRealtimeSku> findList(StatRealtimeSku statRealtimeSku) {
		return super.findList(statRealtimeSku);
	}
	
	public Page<StatRealtimeSku> findPage(Page<StatRealtimeSku> page, StatRealtimeSku statRealtimeSku) {
		return super.findPage(page, statRealtimeSku);
	}
	
	@Transactional(readOnly = false)
	public void save(StatRealtimeSku statRealtimeSku) {
		super.save(statRealtimeSku);
	}
	
	@Transactional(readOnly = false)
	public void delete(StatRealtimeSku statRealtimeSku) {
		super.delete(statRealtimeSku);
	}
	
}